package org.ainlolcat.ainscience.project;

import org.ainlolcat.ainscience.entity.Entity;
import org.ainlolcat.ainscience.metaentity.MetaEntity;
import org.ainlolcat.ainscience.templates.Template;

/**
 * Created by IntelliJ IDEA.
 * User: ain
 * Date: 27.02.12
 * Time: 9:53
 * To change this template use File | Settings | File Templates.
 */
public class SimpleFilterImpl implements Filter
{
    private boolean defValue = true;

    public SimpleFilterImpl(boolean defReturnValue){
        defValue = defReturnValue;
    }

    public SimpleFilterImpl(){ }

    public boolean isAccepted(MetaEntity me) {
        return defValue;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public boolean isAccepted(Entity e) {
        return defValue;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public boolean isAccepted(Template t) {
        return defValue;  //To change body of implemented methods use File | Settings | File Templates.
    }
}
